//
//  EventDetailsViewerViewController.h
//  SecretRoom
//
//  Created by Sitdhibhong Laokok on 9/5/54 BE.
//  Copyright 2554 App Tree. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>

#import "Event.h"
#import "EventLocationAnnotation.h"

@interface EventDetailsViewerViewController : UITableViewController <UIActionSheetDelegate, UIAlertViewDelegate, MKMapViewDelegate> {
    Event *eventForDetailsDisplayInformation;
    NSManagedObjectContext *context;
    MKMapView *eventLocationMap;
    
    EventLocationAnnotation *placeAnnotation;
    UIBarButtonItem *actionProposeButton;
    CLLocationCoordinate2D locationPoint;
    IBOutlet UIBarButtonItem *flexibleBarButton;
}

@property (nonatomic, retain) IBOutlet NSManagedObjectContext *context;
@property (nonatomic, retain) IBOutlet MKMapView *eventLocationMap;
@property (nonatomic, retain) Event *eventForDetailsDisplayInformation;
@property (nonatomic, retain) EventLocationAnnotation *placeAnnotation;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *actionProposeButton;
- (IBAction)actionProposeButtonClicked:(id)sender;

@end
